lspci -k | grep -A 2 -E "(VGA|3D)"

sudo pacman -Ss xf86-video

sudo pacman -S xf86-video-nouveau

xrandr -q

xrandr --output HDMI-A-1 --auto --primary --output VGA-1 --auto --right-of HDMI-A-1

paru -S dkms nvidia-dkms nvidia-open nvidia-open-dkms qt5-wayland qt5ct libva nvidia-vaapi-driver-git

/etc/default/grup
nvidia_drm.modeset=1

grub-mkconfig -o /boot/grub/grub.cfg

/etc/mkinitcpio.conf

MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)

mkinitcpio -P

mkinitcpio --config /etc/mkinitcpio.conf --generate /boot/initramfs-custom.img




/etc/modprobe.d/nvidia.conf

options nvidia-drm modeset=1

/etc/pacman.d/hooks/nvidia.hooks

a llvm-lib
